/**
 * 
 */
package afss.freesky.data.util;

import afss.freesky.data.conn.DBAccessBean;
import afss.freesky.data.conn.DBConnBean;

/**
 * @author <b>Jacky Chou</b> (Copyright &#169; 2005~2010 AFSS [Amei's FreeSky
 *         Studio])
 * @version 1.2.0, 2008-02-23, Upgrade freesky.jar to 1.2.0 with Struts 2 <br>
 *          1.0.0, 2006-05-30, Initial Version
 */
public class TableHelperTest {

	public TableHelperTest() {
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		DBConnBean conn = new DBAccessBean();
		TableHelper tblHelper = new InsertHelper(conn, "TABLE_NAME");
		tblHelper.addFieldValue(new FieldValueBean("ID", "123456", DBType.F_STRING));
		int ret = tblHelper.execute();
		if (ret > 0)
			// successful
			System.out.print("successful");
	}
}
